package com.lance.core.base;

import java.util.Map;

public class ModelAndView {
	private String pageName;

	public String getPageName() {
		return pageName;
	}

	public void setPageName(String pageName) {
		this.pageName = pageName;
	}
	
	private Map<String, Object> data;

	public Object getData() {
		return data;
	}

	public void setData( Map<String, Object> data) {
		this.data = data;
	}

	public ModelAndView(String pageName,  Map<String, Object> data) {
		super();
		this.pageName = pageName;
		this.data = data;
	}

	public ModelAndView() {
		super();
	}

	public ModelAndView(String pageName) {
		super();
		this.pageName = pageName;
	}
	
	
}
